package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/3/14.
 */
public class thecharwalkerthree extends NXTThread{
    public thecharwalkerthree(){setNXTThreadName("THE play, charlie, luke skywalker");}
    public void run(){

        runMotor(PORT_A,100);
        runMotor(PORT_B,100);
        wait(4000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,-50);
        runMotor(PORT_B,100);
        wait(250);
        runMotor(PORT_A,100);
        runMotor(PORT_B,100);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,100);
        runMotor(PORT_B,-50);
        wait(250);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,100);
        runMotor(PORT_B,100);
        wait(4000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();






    }















}
